package ru.rchervot.sanasar.client.rpc;

import com.google.gwt.user.client.rpc.IsSerializable;

public class SaveQueryResponse extends Response implements IsSerializable {
	private Integer queryId;
	
	public SaveQueryResponse() {}
	
	public SaveQueryResponse(Integer queryId) {
		this.queryId = queryId;
	}
	
	public Integer getQueryId() {
//		return new DefaultPage(resultsPage); // TODO understand why Ryan create new object here
		return queryId;
	}

}

